package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.OutsourcingPackaged;
import com.ecoolex.ying.space.entity.OutsourcingPackagedExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface OutsourcingPackagedMapper {
    long countByExample(OutsourcingPackagedExample example);

    int deleteByExample(OutsourcingPackagedExample example);

    int deleteByPrimaryKey(Integer outsourcingPackagedId);

    int insert(OutsourcingPackaged record);

    int insertSelective(@Param("record") OutsourcingPackaged record, @Param("selective") OutsourcingPackaged.Column ... selective);

    OutsourcingPackaged selectOneByExample(OutsourcingPackagedExample example);

    OutsourcingPackaged selectOneByExampleWithBLOBs(OutsourcingPackagedExample example);

    List<OutsourcingPackaged> selectByExampleWithBLOBs(OutsourcingPackagedExample example);

    List<OutsourcingPackaged> selectByExample(OutsourcingPackagedExample example);

    OutsourcingPackaged selectByPrimaryKey(Integer outsourcingPackagedId);

    OutsourcingPackaged selectByPrimaryKeyWithLogicalDelete(@Param("outsourcingPackagedId") Integer outsourcingPackagedId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") OutsourcingPackaged record, @Param("example") OutsourcingPackagedExample example, @Param("selective") OutsourcingPackaged.Column ... selective);

    int updateByExampleWithBLOBs(@Param("record") OutsourcingPackaged record, @Param("example") OutsourcingPackagedExample example);

    int updateByExample(@Param("record") OutsourcingPackaged record, @Param("example") OutsourcingPackagedExample example);

    int updateByPrimaryKeySelective(@Param("record") OutsourcingPackaged record, @Param("selective") OutsourcingPackaged.Column ... selective);

    int updateByPrimaryKeyWithBLOBs(OutsourcingPackaged record);

    int updateByPrimaryKey(OutsourcingPackaged record);

    int batchInsert(@Param("list") List<OutsourcingPackaged> list);

    int batchInsertSelective(@Param("list") List<OutsourcingPackaged> list, @Param("selective") OutsourcingPackaged.Column ... selective);

    int logicalDeleteByExample(@Param("example") OutsourcingPackagedExample example);

    int logicalDeleteByPrimaryKey(Integer outsourcingPackagedId);
}